home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / relax-ng-compact.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  2KB  |  75 lines

  1. <?xml version='1.0'?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3.  
  4. <!-- RELAX NG Compact Syntax mode, by Randy Hudson. -->
  5. <!-- mode catalog entry:
  6.      
  7.   <MODE NAME="relax-ng-compact" FILE="relax-ng-compact.xml"
  8.       FILE_NAME_GLOB="*.rnc" /> 
  9.   -->
  10.  
  11. <MODE>
  12.     <PROPS>
  13.         <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  14.         <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
  15.         <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
  16.         <PROPERTY NAME="lineComment" VALUE="#" />
  17.         <PROPERTY NAME="wordBreakChars" VALUE=",+-=<>/?^&*" />
  18.     </PROPS>  
  19.     
  20.     <RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
  21.     
  22.         <EOL_SPAN TYPE="COMMENT1">#</EOL_SPAN>
  23.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
  24.             <BEGIN>"</BEGIN>
  25.             <END>"</END>
  26.         </SPAN>
  27.         <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
  28.             <BEGIN>'</BEGIN>
  29.             <END>'</END>
  30.         </SPAN>
  31.         <SPAN TYPE='LITERAL2'>
  32.             <BEGIN>"""</BEGIN>
  33.             <END>"""</END>
  34.         </SPAN>
  35.         <SPAN TYPE='LITERAL2'>
  36.             <BEGIN>'''</BEGIN>
  37.             <END>'''</END>
  38.         </SPAN>
  39.  
  40.         <SEQ TYPE="OPERATOR">+</SEQ>
  41.         <SEQ TYPE="OPERATOR">*</SEQ>
  42.         <SEQ TYPE="OPERATOR">?</SEQ>
  43.         <SEQ TYPE="OPERATOR">&=</SEQ>
  44.         <SEQ TYPE="OPERATOR">&</SEQ>
  45.         <SEQ TYPE="OPERATOR">|=</SEQ>
  46.         <SEQ TYPE="OPERATOR">|</SEQ>
  47.         <SEQ TYPE="OPERATOR">=</SEQ>
  48.         <SEQ TYPE="OPERATOR">-</SEQ>
  49.         
  50.         <MARK_FOLLOWING TYPE="NULL">\</MARK_FOLLOWING>
  51.         
  52.         <KEYWORDS>
  53.             <KEYWORD1>attribute</KEYWORD1>
  54.             <KEYWORD1>default</KEYWORD1>
  55.             <KEYWORD1>datatypes</KEYWORD1>
  56.             <KEYWORD1>div</KEYWORD1>
  57.             <KEYWORD1>element</KEYWORD1>
  58.             <KEYWORD1>empty</KEYWORD1>
  59.             <KEYWORD1>external</KEYWORD1>
  60.             <KEYWORD1>grammar</KEYWORD1>
  61.             <KEYWORD1>include</KEYWORD1>
  62.             <KEYWORD1>inherit</KEYWORD1>
  63.             <KEYWORD1>list</KEYWORD1>
  64.             <KEYWORD1>mixed</KEYWORD1>
  65.             <KEYWORD1>namespace</KEYWORD1>
  66.             <KEYWORD1>notAllowed</KEYWORD1>
  67.             <KEYWORD1>parent</KEYWORD1>
  68.             <KEYWORD1>start</KEYWORD1>
  69.             <KEYWORD2>string</KEYWORD2>
  70.             <KEYWORD1>text</KEYWORD1>
  71.             <KEYWORD2>token</KEYWORD2>
  72.         </KEYWORDS>
  73.     </RULES>
  74. </MODE>
  75.